package com.fuhao.test;

import java.io.IOException;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Provider {

	public static void main(String[] args) throws Exception {
		//加载配置文件
		ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("provider.xml");
			applicationContext.start();
		System.out.println("服务启动。。。29014");
		//让他保持启动，因为dubbo创建的服务节点是临时节点，断开连接后自动没了
		System.in.read();
	}
}
